<img [src]="imgurl[idxurl]" alt="" [style.width.px]="w">
<div>
    <button (click)="onchange()">变化</button>
</div>